$OpenBSD: patch-src_common_mak,v 1.1.1.1 2012/07/09 15:56:35 edd Exp $
--- src/common.mak.orig	Sun Jan 15 12:19:25 2012
+++ src/common.mak	Sat Jul  7 15:20:05 2012
@@ -137,13 +137,13 @@ else
     soname      = -Wl,-dylib_install_name,$(IPELIBDIRINFO)/lib$1.so.$(IPEVERS)
   else	
     DLL_LDFLAGS	+= -shared 
-    soname      = -Wl,-soname,lib$1.so.$(IPEVERS)
+    soname      = -Wl,-soname,lib$1.so.${SHLIB_VERSION}
   endif
   buildlib	= $(BUILDDIR)/lib
-  dll_target    = $(buildlib)/lib$1.so.$(IPEVERS)
-  dll_symlinks  = ln -sf lib$1.so.$(IPEVERS) $(buildlib)/lib$1.so
-  install_symlinks = ln -sf lib$1.so.$(IPEVERS) \
-		$(INSTALL_ROOT)$(IPELIBDIR)/lib$1.so
+  dll_target    = $(buildlib)/lib$1.so.${SHLIB_VERSION}
+  dll_symlinks  = true #ln -sf lib$1.so.$(IPEVERS) $(buildlib)/lib$1.so
+  install_symlinks = true# ln -sf lib$1.so.$(IPEVERS) \
+		#$(INSTALL_ROOT)$(IPELIBDIR)/lib$1.so
   ipelet_target = $(BUILDDIR)/ipelets/$1.so
   exe_target	= $(BUILDDIR)/bin/$1
 endif
